/**
 * 
 */
package example.business.api.topic;

import com.vanstone.common.lang.BaseEnum;

/**
 * @author shipeng
 *
 */
public enum CommentType implements BaseEnum<Integer> {

  Question_Scope("问题范围", 1), Answer_Scope("答案范围", 10);

  private String desc;
  private Integer code;

  private CommentType(String desc, Integer code) {
    this.desc = desc;
    this.code = code;
  }

  @Override
  public Integer getCode() {
    return this.code;
  }

  @Override
  public String getDesc() {
    return this.desc;
  }

}
